package com.iurac.uitl;

import java.text.SimpleDateFormat;
import java.util.Date;

public class SerialNumberUtil {
    public static String getNumber(String Location){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
        Date date = new Date();
        String dateStr = sdf.format(date);
        String locationStr = Location.replace("-","");
        return dateStr+locationStr;
    }
}
